import Vue from 'vue'
import App from './App.vue'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import router from './routers/index'
import store from '@/stores'
import BaiduMap from 'vue-baidu-map'
import echarts from 'echarts'
Vue.prototype.$echarts = echarts
Vue.use(BaiduMap, {
  ak: '3FhGDtjODSm8bDOr16VwGHmPXbFlZAxz'
})
Vue.config.productionTip = false
Vue.use(ElementUI);
store.dispatch("userStore/fetchVerify");
new Vue({
  render: h => h(App),
  router,
  store
}).$mount('#app')
